﻿using System;

namespace Fabrication.Extensions
{
    internal static class TypeExtensions
    {
        public static bool DerivesFrom<TParent>(this Type childType)
        {
            return typeof(TParent).IsAssignableFrom(childType);
        }
    }
}
